<style type="text/css">
.breadcrumb  a:link {
	color: #0000FF
} /* 未访问的链接 */
.breadcrumb a:visited {
	color: #0000FF
} /* 已访问的链接 */
.breadcrumb a:hover {
	color: #696969
} /* 鼠标移动到链接上 */
.breadcrumb a:active {
	color: #0000FF
} /* 选定的链接 */
#newVoteTaskDate {
	align-items: left;
	padding: auto, auto, auto, 30px;
	width: 140px;
	outline: none;
	border-style: none;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: inset 0 1px #fff, 0 1px #eee;
	background-color: #eee;
	background-image: -webkit-linear-gradient(top, #f0f0f0, #e6e6e6);
	color: #666;
	width: 140px;
}

#voteaddExeDiv {
	display: none;
}

#voteaddRdrDiv {
	display: none;
}

.headerTitle {
	margin: 15px 30px 0px 30px;
	border-bottom: 1px solid transparent;
	text-align: left;
	background-color: rgb(237, 237, 237);
	padding: 22px 22px 15px 22px;
	background-color: #fff;
}

.headerTitleFont {
	font-size: 18px;
	font-weight:bold;
}
</style>

<div class="headerTitle">
	<div>
		<span class="headerTitleFont"><i class="fa fa-flag" aria-hidden="true"></i>&nbsp;修改投票任务</span>
	</div>
</div>

<div id="page-inner">
	<div class="row">
		<div class="col-xs-12">
			<div class="panel panel-default">
				<div class="panel-body">
					<div class="sub-title">任务标题：</div>
					<div>
						<input id="voteTaskTitle" type="text" class="form-control">
					</div>

					<div class="sub-title">
						任务截止时间：<input id="voteTaskDateEdit" type="date" />
					</div>

					<div class="sub-title">编辑投票规则：</div>
					<div>
						<textarea class="form-control" id="votetDescrEditor"></textarea>
					</div>

					<div class="sub-title">投票参与人:</div>
					<div>
						<span style="position: relative"> <span
							id="vote-btn-exe-add" class="fa fa-user-plus">添加人员</span> <span
							id="voteaddExeDiv">
								<div id="voteaddExeNotebook"></div>
						</span>
						</span><span id="voteexecutorDiv"></span>

					</div>

					<div class="sub-title">投票结果查看人:</div>
					<div>
						<span style="position: relative"><span
							id="vote-btn-rdr-add" class="fa fa-search-plus">添加人员</span> <span
							id="voteaddRdrDiv">
								<div id="voteaddRdrNotebook"></div>
						</span></span> <span id="votereaderDiv"></span>
					</div>

					<div class="sub-title">投票类型&nbsp;&nbsp;
						<select class="selectbox" id="voteTypeSelect">
							<option value="0">分值型</option>
							<option value="1">选择型</option>
						</select>
					</div>

					<div class="sub-title">
						添加投票项目<i onclick="addVoteOption()" class="fa fa-plus"
							aria-hidden="true">点击添加</i>
					</div>
					<div id="voteOptions">
						<table class="table table-striped table-bordered table-hover"
							id="voteOption-example">
							<thead>
								<tr>
									<th>序号</th>
									<th>选项名称</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody id="voteOptionsTable">
							</tbody>
						</table>
					
						<button type="submit" class="btn btn-default"
							id="doVoteManageEditCon">修改</button>
						<button type="submit" class="btn btn-default"
							id="doVoteManageDelCon">删除</button>
						<button type="submit" class="btn btn-default"
							onclick="doVoteManageEditCan()">返回</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="assets/js/jquery-3.2.1.min.js"></script>
<!-- Bootstrap Js -->
<script src="assets/Bootstrap-3.3.7/js/bootstrap.min.js"></script>
<script src="assets/js/bootstrap-treeview.min.js"></script>
<script src="assets/dataTables/datatables.min.js"></script>
<script src="assets/js/bootstrap-slider.min.js"></script>
<script src="assets/js/tasklib.js"></script>
<script src="assets/js/voteManage.js"></script>